Package pl. wendigo. chrome. api. fetch
Contains DevTools Protocol Fetch domain implementation accessible via FetchDomain class.
Types
AuthChallenge
Link copied to clipboard
data class AuthChallenge(source: String?, origin: String, scheme: String, realm: String)
Content copied to clipboard
AuthChallengeResponse
Link copied to clipboard
data class AuthChallengeResponse(response: String, username: String?, password: String?)
Content copied to clipboard
AuthRequiredEvent
Link copied to clipboard
data class AuthRequiredEvent(requestId: RequestId, request: Request, frameId: FrameId, resourceType: ResourceType, authChallenge: AuthChallenge) : Event
Content copied to clipboard
ContinueRequestRequest
Link copied to clipboard
data class ContinueRequestRequest(requestId: RequestId, url: String?, method: String?, postData: String?, headers: List<HeaderEntry>?)
Content copied to clipboard
Represents request frame that can be used with Fetch#continueRequest operation call.
ContinueWithAuthRequest
Link copied to clipboard
data class ContinueWithAuthRequest(requestId: RequestId, authChallengeResponse: AuthChallengeResponse)
Content copied to clipboard
Represents request frame that can be used with Fetch#continueWithAuth operation call.
EnableRequest
Link copied to clipboard
data class EnableRequest(patterns: List<RequestPattern>?, handleAuthRequests: Boolean?)
Content copied to clipboard
Represents request frame that can be used with Fetch#enable operation call.
FailRequestRequest
Link copied to clipboard
data class FailRequestRequest(requestId: RequestId, errorReason: ErrorReason)
Content copied to clipboard
Represents request frame that can be used with Fetch#failRequest operation call.
FetchDomain
Link copied to clipboard
FulfillRequestRequest
Link copied to clipboard
data class FulfillRequestRequest(requestId: RequestId, responseCode: Int, responseHeaders: List<HeaderEntry>?, binaryResponseHeaders: String?, body: String?, responsePhrase: String?)
Content copied to clipboard
Represents request frame that can be used with Fetch#fulfillRequest operation call.
GetResponseBodyRequest
Link copied to clipboard
GetResponseBodyResponse
Link copied to clipboard
HeaderEntry
Link copied to clipboard
RequestPattern
Link copied to clipboard
data class RequestPattern(urlPattern: String?, resourceType: ResourceType?, requestStage: RequestStage?)
Content copied to clipboard
RequestPausedEvent
Link copied to clipboard
data class RequestPausedEvent(requestId: RequestId, request: Request, frameId: FrameId, resourceType: ResourceType, responseErrorReason: ErrorReason?, responseStatusCode: Int?, responseHeaders: List<HeaderEntry>?, networkId: RequestId?) : Event
Content copied to clipboard
RequestStage
Link copied to clipboard
TakeResponseBodyAsStreamRequest
Link copied to clipboard
TakeResponseBodyAsStreamResponse
Link copied to clipboard